<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title></title>
    <script  src="../../../jquery-3.6.0.min.js"></script>
    <script  src="../../../jquery-migrate-1.0.0.js"></script>
    <script type="text/javascript">

        $(function () {
            $("#name").on("click",function () {
	            alert("点击了一下下")
	        })
        })

    </script>
</head>
<body>
<input id="btn" type="button" value="使用on绑定点击事件">
<input id="btn2" type="button" value="使用off解绑点击事件">
</body>
</html>
